package com.housediyadmin.command.goodsCommand
{
	import com.housediyadmin.events.goodsEvents.GetGoodsByFittingIDEvent;
	import com.housediyadmin.model.GoodsModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/17
	 */	
	public class UpdateGoodsFittingCmd extends Command
	{
		[Inject]
		public var event:GetGoodsByFittingIDEvent;
		
		[Inject]
		public var model:GoodsModel;
		
		override public function execute():void
		{
			model.updateGoodsFitting(event.goodsFittingArray);		
		}
	}
}